import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/departmentadd',
      component: () => import('@/views/department/DepartmentAdd.vue'),
    },
    {
      path: '/departmentlist',
      component: () => import('@/views/department/DepartmentList.vue'),
    },
    {
      path: '/uselist',
      component: () => import('@/views/use/UseList.vue'),
    },
    {
      path: '/useupdate',
      component: () => import('@/views/use/UseUpdate.vue'),
    },
  ],
})

export default router
